Optimal. Leaf size=257 \[ \frac {\left (b^2-8 a c+2 b c x\right ) \sqrt {a x^2+b x^3+c x^4}}{8 a x^2}-\frac {\left (a x^2+b x^3+c x^4\right )^{3/2}}{3 x^6}-\frac {b \left (a x^2+b x^3+c x^4\right )^{3/2}}{4 a x^5}+\frac {b \left (b^2-12 a c\right ) x \sqrt {a+b x+c x^2} \tanh ^{-1}\left (\frac {2 a+b x}{2 \sqrt {a} \sqrt {a+b x+c x^2}}\right )}{16 a^{3/2} \sqrt {a x^2+b x^3+c x^4}}+\frac {c^{3/2} x \sqrt {a+b x+c x^2} \tanh ^{-1}\left (\frac {b+2 c x}{2 \sqrt {c} \sqrt {a+b x+c x^2}}\right )}{\sqrt {a x^2+b x^3+c x^4}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.23, antiderivative size = 257, normalized size of antiderivative = 1.00, number of steps
used = 9, number of rules used = 8, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.333, Rules used = {1934, 1965,
1955, 1947, 857, 635, 212, 738} \begin {gather*} \frac {b x \left (b^2-12 a c\right ) \sqrt {a+b x+c x^2} \tanh ^{-1}\left (\frac {2 a+b x}{2 \sqrt {a} \sqrt {a+b x+c x^2}}\right )}{16 a^{3/2} \sqrt {a x^2+b x^3+c x^4}}+\frac {\left (-8 a c+b^2+2 b c x\right ) \sqrt {a x^2+b x^3+c x^4}}{8 a x^2}+\frac {c^{3/2} x \sqrt {a+b x+c x^2} \tanh ^{-1}\left (\frac {b+2 c x}{2 \sqrt {c} \sqrt {a+b x+c x^2}}\right )}{\sqrt {a x^2+b x^3+c x^4}}-\frac {\left (a x^2+b x^3+c x^4\right )^{3/2}}{3 x^6}-\frac {b \left (a x^2+b x^3+c x^4\right )^{3/2}}{4 a x^5} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 212
Rule 635
Rule 738
Rule 857
Rule 1934
Rule 1947
Rule 1955
Rule 1965
Rubi steps
\begin {align*} \int \frac {\left (a x^2+b x^3+c x^4\right )^{3/2}}{x^7} \, dx &=-\frac {\left (a x^2+b x^3+c x^4\right )^{3/2}}{3 x^6}+\frac {1}{2} \int \frac {(b+2 c x) \sqrt {a x^2+b x^3+c x^4}}{x^4} \, dx\\ &=-\frac {\left (a x^2+b x^3+c x^4\right )^{3/2}}{3 x^6}-\frac {b \left (a x^2+b x^3+c x^4\right )^{3/2}}{4 a x^5}-\frac {\int \frac {\left (\frac {1}{2} \left (b^2-8 a c\right )-b c x\right ) \sqrt {a x^2+b x^3+c x^4}}{x^3} \, dx}{4 a}\\ &=\frac {\left (b^2-8 a c+2 b c x\right ) \sqrt {a x^2+b x^3+c x^4}}{8 a x^2}-\frac {\left (a x^2+b x^3+c x^4\right )^{3/2}}{3 x^6}-\frac {b \left (a x^2+b x^3+c x^4\right )^{3/2}}{4 a x^5}+\frac {\int \frac {-\frac {1}{2} b \left (b^2-12 a c\right )+8 a c^2 x}{\sqrt {a x^2+b x^3+c x^4}} \, dx}{8 a}\\ &=\frac {\left (b^2-8 a c+2 b c x\right ) \sqrt {a x^2+b x^3+c x^4}}{8 a x^2}-\frac {\left (a x^2+b x^3+c x^4\right )^{3/2}}{3 x^6}-\frac {b \left (a x^2+b x^3+c x^4\right )^{3/2}}{4 a x^5}+\frac {\left (x \sqrt {a+b x+c x^2}\right ) \int \frac {-\frac {1}{2} b \left (b^2-12 a c\right )+8 a c^2 x}{x \sqrt {a+b x+c x^2}} \, dx}{8 a \sqrt {a x^2+b x^3+c x^4}}\\ &=\frac {\left (b^2-8 a c+2 b c x\right ) \sqrt {a x^2+b x^3+c x^4}}{8 a x^2}-\frac {\left (a x^2+b x^3+c x^4\right )^{3/2}}{3 x^6}-\frac {b \left (a x^2+b x^3+c x^4\right )^{3/2}}{4 a x^5}+\frac {\left (c^2 x \sqrt {a+b x+c x^2}\right ) \int \frac {1}{\sqrt {a+b x+c x^2}} \, dx}{\sqrt {a x^2+b x^3+c x^4}}-\frac {\left (b \left (b^2-12 a c\right ) x \sqrt {a+b x+c x^2}\right ) \int \frac {1}{x \sqrt {a+b x+c x^2}} \, dx}{16 a \sqrt {a x^2+b x^3+c x^4}}\\ &=\frac {\left (b^2-8 a c+2 b c x\right ) \sqrt {a x^2+b x^3+c x^4}}{8 a x^2}-\frac {\left (a x^2+b x^3+c x^4\right )^{3/2}}{3 x^6}-\frac {b \left (a x^2+b x^3+c x^4\right )^{3/2}}{4 a x^5}+\frac {\left (2 c^2 x \sqrt {a+b x+c x^2}\right ) \text {Subst}\left (\int \frac {1}{4 c-x^2} \, dx,x,\frac {b+2 c x}{\sqrt {a+b x+c x^2}}\right )}{\sqrt {a x^2+b x^3+c x^4}}+\frac {\left (b \left (b^2-12 a c\right ) x \sqrt {a+b x+c x^2}\right ) \text {Subst}\left (\int \frac {1}{4 a-x^2} \, dx,x,\frac {2 a+b x}{\sqrt {a+b x+c x^2}}\right )}{8 a \sqrt {a x^2+b x^3+c x^4}}\\ &=\frac {\left (b^2-8 a c+2 b c x\right ) \sqrt {a x^2+b x^3+c x^4}}{8 a x^2}-\frac {\left (a x^2+b x^3+c x^4\right )^{3/2}}{3 x^6}-\frac {b \left (a x^2+b x^3+c x^4\right )^{3/2}}{4 a x^5}+\frac {b \left (b^2-12 a c\right ) x \sqrt {a+b x+c x^2} \tanh ^{-1}\left (\frac {2 a+b x}{2 \sqrt {a} \sqrt {a+b x+c x^2}}\right )}{16 a^{3/2} \sqrt {a x^2+b x^3+c x^4}}+\frac {c^{3/2} x \sqrt {a+b x+c x^2} \tanh ^{-1}\left (\frac {b+2 c x}{2 \sqrt {c} \sqrt {a+b x+c x^2}}\right )}{\sqrt {a x^2+b x^3+c x^4}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.69, size = 172, normalized size = 0.67 \begin {gather*} -\frac {\sqrt {x^2 (a+x (b+c x))} \left (3 b \left (b^2-12 a c\right ) x^3 \tanh ^{-1}\left (\frac {\sqrt {c} x-\sqrt {a+x (b+c x)}}{\sqrt {a}}\right )+\sqrt {a} \left (\sqrt {a+x (b+c x)} \left (8 a^2+3 b^2 x^2+2 a x (7 b+16 c x)\right )+24 a c^{3/2} x^3 \log \left (b+2 c x-2 \sqrt {c} \sqrt {a+x (b+c x)}\right )\right )\right )}{24 a^{3/2} x^4 \sqrt {a+x (b+c x)}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.04, size = 435, normalized size = 1.69
method | result | size |
risch | \(-\frac {\left (32 a c \,x^{2}+3 b^{2} x^{2}+14 a b x +8 a^{2}\right ) \sqrt {x^{2} \left (c \,x^{2}+b x +a \right )}}{24 x^{4} a}+\frac {\left (c^{\frac {3}{2}} \ln \left (\frac {\frac {b}{2}+c x}{\sqrt {c}}+\sqrt {c \,x^{2}+b x +a}\right )-\frac {3 b \ln \left (\frac {2 a +b x +2 \sqrt {a}\, \sqrt {c \,x^{2}+b x +a}}{x}\right ) c}{4 \sqrt {a}}+\frac {b^{3} \ln \left (\frac {2 a +b x +2 \sqrt {a}\, \sqrt {c \,x^{2}+b x +a}}{x}\right )}{16 a^{\frac {3}{2}}}\right ) \sqrt {x^{2} \left (c \,x^{2}+b x +a \right )}}{x \sqrt {c \,x^{2}+b x +a}}\) | \(187\) |
default | \(\frac {\left (c \,x^{4}+b \,x^{3}+a \,x^{2}\right )^{\frac {3}{2}} \left (32 c^{\frac {7}{2}} \left (c \,x^{2}+b x +a \right )^{\frac {3}{2}} a \,x^{4}-36 c^{\frac {5}{2}} a^{\frac {5}{2}} \ln \left (\frac {2 a +b x +2 \sqrt {a}\, \sqrt {c \,x^{2}+b x +a}}{x}\right ) b \,x^{3}+48 c^{\frac {7}{2}} \sqrt {c \,x^{2}+b x +a}\, a^{2} x^{4}-2 c^{\frac {5}{2}} \left (c \,x^{2}+b x +a \right )^{\frac {3}{2}} b^{2} x^{4}-32 c^{\frac {5}{2}} \left (c \,x^{2}+b x +a \right )^{\frac {5}{2}} a \,x^{2}+28 c^{\frac {5}{2}} \left (c \,x^{2}+b x +a \right )^{\frac {3}{2}} a b \,x^{3}-6 c^{\frac {5}{2}} \sqrt {c \,x^{2}+b x +a}\, a \,b^{2} x^{4}+3 c^{\frac {3}{2}} a^{\frac {3}{2}} \ln \left (\frac {2 a +b x +2 \sqrt {a}\, \sqrt {c \,x^{2}+b x +a}}{x}\right ) b^{3} x^{3}+60 c^{\frac {5}{2}} \sqrt {c \,x^{2}+b x +a}\, a^{2} b \,x^{3}+2 c^{\frac {3}{2}} \left (c \,x^{2}+b x +a \right )^{\frac {5}{2}} b^{2} x^{2}-2 c^{\frac {3}{2}} \left (c \,x^{2}+b x +a \right )^{\frac {3}{2}} b^{3} x^{3}+4 c^{\frac {3}{2}} \left (c \,x^{2}+b x +a \right )^{\frac {5}{2}} a b x -6 c^{\frac {3}{2}} \sqrt {c \,x^{2}+b x +a}\, a \,b^{3} x^{3}-16 \left (c \,x^{2}+b x +a \right )^{\frac {5}{2}} a^{2} c^{\frac {3}{2}}+48 \ln \left (\frac {2 \sqrt {c \,x^{2}+b x +a}\, \sqrt {c}+2 c x +b}{2 \sqrt {c}}\right ) a^{3} c^{3} x^{3}\right )}{48 x^{6} \left (c \,x^{2}+b x +a \right )^{\frac {3}{2}} a^{3} c^{\frac {3}{2}}}\) | \(435\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.42, size = 815, normalized size = 3.17 \begin {gather*} \left [\frac {48 \, a^{2} c^{\frac {3}{2}} x^{4} \log \left (-\frac {8 \, c^{2} x^{3} + 8 \, b c x^{2} + 4 \, \sqrt {c x^{4} + b x^{3} + a x^{2}} {\left (2 \, c x + b\right )} \sqrt {c} + {\left (b^{2} + 4 \, a c\right )} x}{x}\right ) - 3 \, {\left (b^{3} - 12 \, a b c\right )} \sqrt {a} x^{4} \log \left (-\frac {8 \, a b x^{2} + {\left (b^{2} + 4 \, a c\right )} x^{3} + 8 \, a^{2} x - 4 \, \sqrt {c x^{4} + b x^{3} + a x^{2}} {\left (b x + 2 \, a\right )} \sqrt {a}}{x^{3}}\right ) - 4 \, \sqrt {c x^{4} + b x^{3} + a x^{2}} {\left (14 \, a^{2} b x + 8 \, a^{3} + {\left (3 \, a b^{2} + 32 \, a^{2} c\right )} x^{2}\right )}}{96 \, a^{2} x^{4}}, -\frac {96 \, a^{2} \sqrt {-c} c x^{4} \arctan \left (\frac {\sqrt {c x^{4} + b x^{3} + a x^{2}} {\left (2 \, c x + b\right )} \sqrt {-c}}{2 \, {\left (c^{2} x^{3} + b c x^{2} + a c x\right )}}\right ) + 3 \, {\left (b^{3} - 12 \, a b c\right )} \sqrt {a} x^{4} \log \left (-\frac {8 \, a b x^{2} + {\left (b^{2} + 4 \, a c\right )} x^{3} + 8 \, a^{2} x - 4 \, \sqrt {c x^{4} + b x^{3} + a x^{2}} {\left (b x + 2 \, a\right )} \sqrt {a}}{x^{3}}\right ) + 4 \, \sqrt {c x^{4} + b x^{3} + a x^{2}} {\left (14 \, a^{2} b x + 8 \, a^{3} + {\left (3 \, a b^{2} + 32 \, a^{2} c\right )} x^{2}\right )}}{96 \, a^{2} x^{4}}, \frac {24 \, a^{2} c^{\frac {3}{2}} x^{4} \log \left (-\frac {8 \, c^{2} x^{3} + 8 \, b c x^{2} + 4 \, \sqrt {c x^{4} + b x^{3} + a x^{2}} {\left (2 \, c x + b\right )} \sqrt {c} + {\left (b^{2} + 4 \, a c\right )} x}{x}\right ) - 3 \, {\left (b^{3} - 12 \, a b c\right )} \sqrt {-a} x^{4} \arctan \left (\frac {\sqrt {c x^{4} + b x^{3} + a x^{2}} {\left (b x + 2 \, a\right )} \sqrt {-a}}{2 \, {\left (a c x^{3} + a b x^{2} + a^{2} x\right )}}\right ) - 2 \, \sqrt {c x^{4} + b x^{3} + a x^{2}} {\left (14 \, a^{2} b x + 8 \, a^{3} + {\left (3 \, a b^{2} + 32 \, a^{2} c\right )} x^{2}\right )}}{48 \, a^{2} x^{4}}, -\frac {48 \, a^{2} \sqrt {-c} c x^{4} \arctan \left (\frac {\sqrt {c x^{4} + b x^{3} + a x^{2}} {\left (2 \, c x + b\right )} \sqrt {-c}}{2 \, {\left (c^{2} x^{3} + b c x^{2} + a c x\right )}}\right ) + 3 \, {\left (b^{3} - 12 \, a b c\right )} \sqrt {-a} x^{4} \arctan \left (\frac {\sqrt {c x^{4} + b x^{3} + a x^{2}} {\left (b x + 2 \, a\right )} \sqrt {-a}}{2 \, {\left (a c x^{3} + a b x^{2} + a^{2} x\right )}}\right ) + 2 \, \sqrt {c x^{4} + b x^{3} + a x^{2}} {\left (14 \, a^{2} b x + 8 \, a^{3} + {\left (3 \, a b^{2} + 32 \, a^{2} c\right )} x^{2}\right )}}{48 \, a^{2} x^{4}}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\left (x^{2} \left (a + b x + c x^{2}\right )\right )^{\frac {3}{2}}}{x^{7}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {{\left (c\,x^4+b\,x^3+a\,x^2\right )}^{3/2}}{x^7} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________